package com.github.elliot.ordercenter.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分主题表
 * </p>
 *
 * @author mybatis-plus-generator
 * @since 2025-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("point_theme")
public class PointTheme implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.ASSIGN_ID)
      private Integer id;

      /**
     * 主题编号
     */
      private String themeNo;

      /**
     * 主题名称
     */
      private String themeName;

      /**
     * 1:积分 2:额度
     */
      private Integer type;

      /**
     * 限制范围 0:不限制 1:指定商品 2:指定类目
     */
      private Integer limitType;


      public static final String ID = "id";

      public static final String THEME_NO = "theme_no";

      public static final String THEME_NAME = "theme_name";

      public static final String TYPE = "type";

      public static final String LIMIT_TYPE = "limit_type";

  }
